package imnu.work_05.work_3.oop;

/**
 * @author: lys
 * @类名: Shape
 * @Title:
 * @date: 2020/7/17
 **/
public abstract class Shape {
    //定义属性
    public double area;
    public double per;
    public String color;
    //构造方法
    public Shape() {
    }
    public Shape(String color) {
        this.color = color;
    }

    //抽象方法
    public abstract void showAll();
    public abstract void getArea();
    public abstract void getPer();

}
